package com.youran.restful.webprinter;

import java.util.HashSet;
import java.util.Set;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * 程序启动入口，采用springboot方式启动
 * 
 * 自动扫描这个类的目录及其子目录
 * 
 * @author DAL.feng
 */
public class AppMain {

	private static Logger logger = LoggerFactory.getLogger(AppMain.class);
	
	public static void main(String[] args) {
		logger.info("进程准备启动……");
		AppRun run = new AppRun();
		run.main(new String[]{});
		logger.info("进程已启动！");
	}

}
